﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.WeChatComponent.WeChatPushMessage
{
    /// <summary>
    /// 群发消息删除
    /// </summary>
    public class WeChatPushMessageDeleteDto
    {
        /// <summary>
        /// 群发消息Id
        /// </summary>
        [Display(Name ="群发消息Id")]
        [Required(ErrorMessage ="{0} 不能为空")]
        public long MessageId { get; set; }
        /// <summary>
        /// 群发图文文章索引
        /// 要删除的文章在图文消息中的位置，
        /// 第一篇编号为1，
        /// 该字段不填或填0会删除全部文章
        /// </summary>
        public int? ArticleIndex { get; set; }
    }
}
